package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface KtProdDao {
	Map queryKtProd(String id);
	
	void createKtProd(Map parameter);
	
	void updateKtProd(Map parameter);
	
	Map<String,Object> getProdInfoListSize(String productCode, String productName, String typeId, String propertyId, String state, String unit, String remark);
	List<Map<String,Object>> getProdInfoListByPage(String productCode, String productName, String typeId, String propertyId, String state, Long beginNum, Long endNum, String unit, String remark);

	Map<String,Object> getProdPriceListSize(String productCode, String productName, String typeId, String state);
	List<Map<String,Object>> getProdPriceListByPage(String productCode, String productName, String typeId, String state, Long beginNum, Long endNum);

	Map<String,Object> getShopListSize(String shopName, String shopType, String state, String orgType);
	List<Map<String,Object>> getShopListByPage(String shopName, String shopType, String shopTypeText, String state, String orgType, Long beginNum, Long endNum);

	List<Map<String,Object>> getDict(String dictName);

	List<Map<String,Object>> getProdProperty(String typeId);

	Map<String,Object> getProdRecord(String productCode);


	Map<String,Object> getRecommendProdListSize(String shopId);
	List<Map<String,Object>> getRecommendProdList(String shopId, Long beginNum, Long endNum);

	Map<String,Object> getRecommendCigaretteListSize(String shopId);
	List<Map<String, Object>> getRecommendCigaretteList(String shopId, Long beginNum, Long endNum);

	Map<String,Object> getCenterRecommendProdListSize(String shopId, String supplierName);
	List<Map<String,Object>> getCenterRecommendProdList(String shopId, String shopName, String supplierName, Long beginNum, Long endNum);

	Map<String,Object> getCenterRecommendTightTobaccoListSize(String shopId);
	List<Map<String,Object>> getCenterRecommendTightTobaccoList(String shopId, Long beginNum, Long endNum);
}
